public class QryTerm {
	public static String DATE_TYPE = "Date";
	public static String INT_TYPE = "Int";
	public static String STRING_TYPE = "String";
	public static String POSITION_BEGIN = "Begin";
	public static String POSITION_END = "End";
//	private String position ;
	private String type ;
	private String name ; 
	private String beginValue; 
	private String endValue;
	
	public void setValue(String value ,String position){
		if ( position.equalsIgnoreCase( POSITION_BEGIN )) {
			this.beginValue = value ; 
		} else {
			this.endValue  = value ; 
		}
	}
//	public String getPosition() {
//		return position;
//	}
	public String getBeginValue() {
		return beginValue;
	}
//	public void setBeginValue(String beginValue) {
//		this.beginValue = beginValue;
//	}
//	public void setPosition(String position) {
//		this.position = position;
//	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getEndValue() {
		return endValue;
	}
//	public void setEndValue(String endValue) {
//		this.endValue = endValue;
//	} 
}
